package com.wwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wwz.pojo.Customer;
import com.wwz.pojo.Device;
import com.wwz.pojo.query.CustomerQuery;

/**
 * 客户接口
 * @date 2022/03/26 51:11:05
 */
public interface ICustomerService extends IService<Customer> {

    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<Customer> toPage(CustomerQuery query);

    /**
     * 添加或修改
     * @param customer
     */
    void addOrUpdate(Customer customer);
}
